package com.yitong.profile.service;

import java.util.Map;

import javax.inject.Inject;

import org.springframework.stereotype.Service;

import com.yitong.base.domain.Page;
import com.yitong.profile.dao.api.UserMapper;
import com.yitong.profile.domain.User;

@Service
public class UserService {
	@Inject
	private UserMapper userMapper;
	
	public Page<?> listUserWithPage(Map<String, Object> param, int pageNum,
			int pageSize) throws Exception {
		return userMapper.listUserWithPage(param, pageNum, pageSize);
	}
	
	public User showUserById(Map<String, Object> param) throws Exception{
		return userMapper.showUserById(param);
	}
	
	
}
